﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace ThaireInvestmentWeb.Util
{
    public class WebData
    {

        //public static IList<SelectListItem> FinancialInstrument
        //{
        //    get
        //    {
        //        BindingList<SelectListItem> data = new BindingList<SelectListItem>();
        //        data.Add(item: new SelectListItem() { Selected = false, Text = "FIXINCOMESECURITIES", Value = "FIXINCOMESECURITIES" });
        //        return data;
        //    }
        //}


        //public static IList<SelectListItem> AssetClass
        //{
        //    get
        //    {
        //        BindingList<SelectListItem> data = new BindingList<SelectListItem>();
        //        data.Add(item: new SelectListItem() { Selected = false, Text = "Bank", Value = "Bank" });
        //        data.Add(item: new SelectListItem() { Selected = false, Text = "Bond", Value = "Bond" });
        //        data.Add(item: new SelectListItem() { Selected = false, Text = "Loans", Value = "Loans" });
        //        return data;
        //    }
        //}

        //public static IList<SelectListItem> TransactionType
        //{
        //    get
        //    {

        //        BindingList<SelectListItem> data = new BindingList<SelectListItem>();
        //        data.Add(item: new SelectListItem() { Selected = false, Text = "Guarantee", Value = "Guarantee" });
        //        data.Add(item: new SelectListItem() { Selected = false, Text = "SALE", Value = "SALE" });
        //        data.Add(item: new SelectListItem() { Selected = false, Text = "Purchase", Value = "Purchase" });
        //        data.Add(item: new SelectListItem() { Selected = false, Text = "Subscription", Value = "Subscription" });
        //        return data;
        //    }
        //}


        //public static IList<SelectListItem> InstructionStatus
        //{
        //    get
        //    {

        //        BindingList<SelectListItem> data = new BindingList<SelectListItem>();
        //        data.Add(item: new SelectListItem() { Selected = false, Text = "Waiting for Approve", Value = "Waiting for Approve" });
        //        data.Add(item: new SelectListItem() { Selected = false, Text = "Approved", Value = "Approved" });
        //        return data;
        //    }
        //}

        //public static IList<SelectListItem> IssuerType
        //{
        //    get
        //    {
        //        BindingList<SelectListItem> data = new BindingList<SelectListItem>();
        //        data.Add(item: new SelectListItem() { Selected = false, Text = "รัฐบาล (MoF)", Value = "1" });
        //        data.Add(item: new SelectListItem() { Selected = false, Text = "รัฐวิสาหกิจ (SOE)", Value = "2" });
        //        data.Add(item: new SelectListItem() { Selected = false, Text = "รัฐวิสาหกิจ (SOEG)", Value = "3" });
        //        data.Add(item: new SelectListItem() { Selected = false, Text = "Treasury Bill ตั๋วเงินคลัง", Value = "4" });
        //        data.Add(item: new SelectListItem() { Selected = false, Text = "เอกชน", Value = "5" });
        //        return data;
        //    }
        //}

        //public static IList<SelectListItem> Guarantor
        //{
        //    get
        //    {
        //        BindingList<SelectListItem> data = new BindingList<SelectListItem>();
        //        data.Add(item: new SelectListItem() { Selected = false, Text = "None", Value = "1" });
        //        data.Add(item: new SelectListItem() { Selected = false, Text = "กระทรวงการคลัง", Value = "2" });
        //        data.Add(item: new SelectListItem() { Selected = false, Text = "รัฐบาลไทย", Value = "3" });
        //        data.Add(item: new SelectListItem() { Selected = false, Text = "Other", Value = "4" });
        //        return data;
        //    }
        //}

        //public static IList<SelectListItem> BondType
        //{
        //    get
        //    {
        //        BindingList<SelectListItem> data = new BindingList<SelectListItem>();
        //        data.Add(item: new SelectListItem() { Selected = false, Text = "Float", Value = "1" });
        //        data.Add(item: new SelectListItem() { Selected = false, Text = "Fixed", Value = "2" });
        //        data.Add(item: new SelectListItem() { Selected = false, Text = "Step Up", Value = "3" });
        //        return data;
        //    }
        //}

        //public static IList<SelectListItem> ListedStatus
        //{
        //    get
        //    {
        //        BindingList<SelectListItem> data = new BindingList<SelectListItem>();
        //        data.Add(item: new SelectListItem() { Selected = false, Text = "Listed", Value = "1" });
        //        data.Add(item: new SelectListItem() { Selected = false, Text = "Non List", Value = "2" });
        //        data.Add(item: new SelectListItem() { Selected = false, Text = "3", Value = "3" });
        //        return data;
        //    }
        //}

        //public static IList<SelectListItem> Redempton
        //{
        //    get
        //    {
        //        BindingList<SelectListItem> data = new BindingList<SelectListItem>();
        //        data.Add(item: new SelectListItem() { Selected = false, Text = "Bullet Payment", Value = "1" });
        //        data.Add(item: new SelectListItem() { Selected = false, Text = "Amortizing Payment", Value = "2" });
        //        return data;
        //    }
        //}

        //public static IList<SelectListItem> CalculationMethod
        //{
        //    get
        //    {
        //        BindingList<SelectListItem> data = new BindingList<SelectListItem>();
        //        data.Add(item: new SelectListItem() { Selected = false, Text = "Actual", Value = "1" });
        //        data.Add(item: new SelectListItem() { Selected = false, Text = "Frequency", Value = "2" });
        //        return data;
        //    }
        //}

        //public static IList<SelectListItem> Rating
        //{
        //    get
        //    {
        //        BindingList<SelectListItem> data = new BindingList<SelectListItem>();
        //        data.Add(item: new SelectListItem() { Selected = false, Text = "AAA", Value = "1" });
        //        data.Add(item: new SelectListItem() { Selected = false, Text = "AA", Value = "2" });
        //        data.Add(item: new SelectListItem() { Selected = false, Text = "A", Value = "3" });
        //        return data;
        //    }
        //}


        public static IList<SelectListItem> CreditAgency
        {
            get
            {
                BindingList<SelectListItem> data = new BindingList<SelectListItem>();
                data.Add(item: new SelectListItem() { Selected = false, Text = "TRIS", Value = "1" });
                data.Add(item: new SelectListItem() { Selected = false, Text = "Fitch (THA)", Value = "2" });
                data.Add(item: new SelectListItem() { Selected = false, Text = "S&P", Value = "3" });
                data.Add(item: new SelectListItem() { Selected = false, Text = "Moody", Value = "4" });
                data.Add(item: new SelectListItem() { Selected = false, Text = "Fitch", Value = "5" });
                data.Add(item: new SelectListItem() { Selected = false, Text = "A.M.Best", Value = "6" });
                return data;
            }
        }

        //public static IList<SelectListItem>  GuarantorType
        //{
        //     get
        //    {
        //        BindingList<SelectListItem> data = new BindingList<SelectListItem>();
        //        data.Add(item: new SelectListItem() { Selected = false, Text = "นิติบุคคล", Value = "1" });
        //        data.Add(item: new SelectListItem() { Selected = false, Text = "ทรัพย์สิน", Value = "2" });
        //        return data;
        //    }
        //}

          





        //InvolvedPartyTypeNameList.Add(item: new SelectListItem() { Selected = false, Text = "ธุรกิจ", Value = "1" });
        //InvolvedPartyTypeNameList.Add(item: new SelectListItem() { Selected = false, Text = "นิติบุคคล", Value = "2" });
        //InvolvedPartyTypeNameList.Add(item: new SelectListItem() { Selected = false, Text = "กองทุนต่างๆ", Value = "3" });




    }
}